<%@ Assembly Name="Starznet.SharePoint.SPDAT, Version=1.0.0.0, Culture=neutral, PublicKeyToken=74e3ac9236a77c47" %>
<%@ Page Language="C#" Inherits="Starznet.SharePoint.SPDAT.ApplicationPages.Settings.MembershipResetPassPage" MasterPageFile="~/_layouts/application.master" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" Src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" Src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" Src="~/_controltemplates/ButtonSection.ascx" %>
<%@ Register TagPrefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    <SharePoint:EncodedLiteral ID="EncodedLiteral1" runat="server" Text="<%$Resources:szadm,ResetPass_PageTitle%>" EncodeMethod="HtmlEncode" />
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
    <SharePoint:EncodedLiteral ID="EncodedLiteral2" runat="server" Text="<%$Resources:szadm,ResetPass_PageTitle%>" EncodeMethod="HtmlEncode" />
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderPageDescription" runat="server">
    <SharePoint:EncodedLiteral ID="EncodedLiteral3" runat="server" Text="<%$Resources:szadm,ResetPass_PageDesc%>" EncodeMethod='HtmlEncodeAllowSimpleTextFormatting' />
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderPageImage" runat="server">
	<a href="http://www.starznet.co.uk" title="Visit the Starznet website" target="_blank">
	    <img src="/_layouts/Starznet/StarznetPageGraphic.gif" alt="Starznet Ltd" style="margin-top:3px;border:0px;"/>
	</a>
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderMain" runat="server">
<table class="propertysheet" border="0" width="100%" cellspacing="0" cellpadding="0">
    <asp:Panel ID="pnlForm" runat="server">
    <wssuc:InputFormSection 
        Title="<%$Resources:szadm,ResetPass_UsernameLabel%>"
		Description="<%$Resources:szadm,ResetPass_UsernameDesc%>"
		runat="server">
	   <Template_InputFormControls>
			<wssuc:InputFormControl LabelText="<%$Resources:szadm,ResetPass_UsernameLabel%>" runat="server">
				 <Template_Control>
		            <SharePoint:InputFormTextBox Title="<%$Resources:szadm,ResetPass_UsernameLabel%>" CssClass="ms-input"  ID="TxtUsername" Columns="40" runat="server" MaxLength="255" ReadOnly="true" />
				 </Template_Control>
			</wssuc:InputFormControl>
	   </Template_InputFormControls>
    </wssuc:InputFormSection>
    <wssuc:InputFormSection
        Title="<%$Resources:szadm,ResetPass_PasswordLabel%>"
		Description="<%$Resources:szadm,ResetPass_PasswordDesc%>"
		runat="server">
		<Template_InputFormControls>
            <wssuc:InputFormControl 
                LabelText="<%$Resources:szadm,ResetPass_PasswordLabel%>" 
                runat="server">
			     <Template_Control>
	                <SharePoint:InputFormTextBox Title="<%$Resources:szadm,ResetPass_PasswordLabel%>" CssClass="ms-input" TextMode="Password" ID="TxtPassword" Columns="40" runat="server" MaxLength="255" />
			        <SharePoint:InputFormRequiredFieldValidator 
		                ID="ReqTxtPassword"
			            ControlToValidate="TxtPassword"
			            ErrorMessage="<%$Resources:szadm,ResetPass_PasswordError%>" runat="server" />
			     </Template_Control>
			</wssuc:InputFormControl>
			<wssuc:InputFormControl LabelText="<%$Resources:szadm,ResetPass_ConfirmPasswordLabel%>" runat="server">
			     <Template_Control>
	                <SharePoint:InputFormTextBox Title="<%$Resources:szadm,ResetPass_ConfirmPasswordLabel%>" CssClass="ms-input" TextMode="Password" ID="TxtConfirmPassword" Columns="40" runat="server" MaxLength="255" />
			        <SharePoint:InputFormRequiredFieldValidator 
		                ID="ReqTxtConfirmPassword"
			            ControlToValidate="TxtConfirmPassword"
			            ErrorMessage="<%$Resources:szadm,ResetPass_ConfirmPasswordError%>" runat="server" />
			        <SharePoint:InputFormCompareValidator
			            ID="CusValTxtConfirmPassword"
			            ControlToValidate="TxtConfirmPassword"
			            ControlToCompare="TxtPassword"
			            ErrorMessage="<%$Resources:szadm,ResetPass_ConfirmPasswordErrorCustom%>" 
			            runat="server" />
			     </Template_Control>
			</wssuc:InputFormControl>
		</Template_InputFormControls>
    </wssuc:InputFormSection>
    <wssuc:ButtonSection runat="server">
	   <Template_Buttons>
		  <asp:Button UseSubmitBehavior="false" runat="server" CssClass="ms-ButtonHeightWidth" OnClick="BtnUpdateUser_Click" Text="<%$Resources:wss,multipages_okbutton_text%>" id="BtnCreate" accesskey="<%$Resources:wss,okbutton_accesskey%>" CausesValidation="true"/>
	   </Template_Buttons>
    </wssuc:ButtonSection>
    </asp:Panel>
 </table>
<asp:Panel ID="pnlConfirmSuccess" runat="server" Visible="false">
    <asp:Literal ID="lblConfirm" runat="server" Text="<%$Resources:szadm,ResetPass_ConfirmSuccess%>" /><br />
    <a href="FormsAuthUserList.aspx"><asp:Literal ID="Literal1" runat="server" Text="<%$Resources:szadm,UserList_PageTitle%>" /></a>
</asp:Panel>
</asp:Content>
